﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DbAccessLib;

namespace DataAccess
{
    public class Db
    {
        static private DataProvider m_DiaDiemDb = null;

        static public DataProvider DiaDiemDB
        {
            get { return m_DiaDiemDb; }
        }

        static public void Initation(String HostName , String DbName , String Uid , String Pwd)
        {
            m_DiaDiemDb = new DataProvider(new Access2007ConnectionInfor(HostName,DbName , Uid ,Pwd));
        }

    }
}
